package lovo01.game;

import java.util.Scanner;

public class Test {
    public void process(){
        Scanner sc = new Scanner(System.in);
        System.out.println("猜拳游戏开始");
        System.out.println("请输入玩家昵称：");
        Judge judge = new Judge(new Player(sc.next()),new Computer());
        for (int i = 1;i <= 5;i++){
            System.out.println("第" + i + "局");
            judge.check();
        }
        judge.totalScore();
    }
    public static void main(String[] args){
        Test test = new Test();
        test.process();
    }
}
